// miniprogram/pages/bar/mine/mine.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    userInfo: {
      avatarUrl: '', //用户头像
      nickName: '', //用户昵称
    },  
    itemList: [
      { img: '/images/bankcard.png', text: '绑定账号', show: true, events: 'basicInfo' },
      // { img: '/images/rmb.png', text: '价格设置', show: true, events: 'changePrice' },
      { img: '/images/service.png', text: '意见反馈', show: true, events: 'smart' },
      { img: '/images/usage.png', text: '关于我们', show: true, events: 'myFood' },
  ],
  },
  change(){
      wx.navigateTo({
        url: '/pages/bar/mine/persional/change/change',
    });
  },
  basicInfo(){
    wx.navigateTo({
      url: '/pages/login/login',
    });
  }
  // changePrice(){
  //   wx.navigateTo({
  //     url: '../mine/changePrice/changePrice',
  // });
  // }
})